package com.example.rpdomain.gateway;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.rpclient.dto.query.RuleListByParamQuery;
import com.example.rpdomain.rule.RuleEntity;


public interface RuleGateway {


    RuleEntity save(RuleEntity entity);

    IPage<RuleEntity> page(RuleListByParamQuery query);

}
